package main

import (
	"fmt"
	"my/go_draft/study/20190312/school"
)

func main() {
	var sc school.Schooler
	var t = &school.Teacher{}
	t.SetAge(50)
	t.SetGender(false)
	t.SetId(1)
	t.SetMonitor(true)
	t.SetName("xsz")
	t.SetSubject(2)
	var s = &school.Student{}
	s.SetId(1)
	s.SetAge(30)
	s.SetClass(8)
	s.SetGrade(3)
	s.SetGender(true)
	s.SetName("hwanginsitein")
	fmt.Println(*t)
	fmt.Println(*s)
	sc.Working(*s, 5)
	sc.Working(*t, 0)
}
